package com.logistics.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 平台租户表实体类
 */
@Data
@TableName("platform_tenant")
public class PlatformTenant {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String tenantCode;
    
    private String companyName;
    
    private String creditCode;
    
    private String contactPerson;
    
    private String contactPhone;
    
    private String email;
    
    private String companyAddress;
    
    private String subdomain;
    
    private String subscriptionPlan;
    
    private String subscriptionStatus;
    
    private LocalDateTime expireTime;
    
    private Integer trialDays;
    
    private Integer status;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}

